package com.springTest;

import org.springframework.stereotype.Component;

/**
 * @Author: YLBG-YCY-1325
 * @Description:
 * @Date: 2017/7/21
 */
@Component
public class SgtPepper implements CompactDisc {
    private String title = "this is SgtPepper title";
    private String artist = "The beatiles";

    @Override
    public void play() {
        System.out.println("play " + title + ": artist" + artist);
    }
}
